GlobalPayments\WooCommercePaymentGatewayProvider\Gateways\AbstractGateway D

Total Complexity 159
Dependencies 43
Dependents 31
Total lines 1,558
Lines of code 982
Logical lines of code 294
Comment lines 366
Methods 51
Properties 14

Methods 51

Method Rating Maintainability Complexity Lines of code
handle_response()
B
40 18 54
capture_credit_card_authorization()
B
40 17 57
tokenization_script()
A
42 9 57
secure_payment_fields_styles()
A
30 1 158
process_payment()
A
46 9 37
admin_enqueue_scripts()
A
45 7 45
process_refund()
S
48 6 32
add_capture_order_action()
S
55 6 18
init_form_fields()
S
38 1 84
admin_enforce_single_gateway()
S
53 5 24
add_hooks()
S
48 4 37
admin_add_order_note_after_order_created()
S
56 5 21
prepare_request()
S
48 3 35
configure_merchant_settings()
S
55 4 19
hosted_fields_script()
S
60 4 13
woocommerce_credit_card_form_fields()
S
57 3 18
add_payment_method()
S
57 3 17
is_successful_capture_response()
S
74 4 4
__construct()
S
52 2 28
environment_indicator()
S
63 3 11
secure_payment_fields_config()
S
62 3 11
helper_script()
S
59 2 17
is_partially_approved()
S
74 3 4
is_transaction_declined()
S
74 3 4
secure_payment_fields()
S
52 1 28
avs_rejection_conditions()
S
54 1 20
get_gateway_provider()
S
71 2 6
get_credential_setting()
S
78 2 3
secure_payment_fields_asset_base_url()
S
72 2 6
save_payment_method_checkbox()
S
72 2 6
get_order_info()
S
64 2 10
get_session_amount()
S
68 2 7
woocommerce_available_payment_gateways()
S
71 2 6
get_helper_params()
S
61 1 14
secure_payment_field_html_format()
S
69 1 11
configure_method_settings()
S
100 1 0
get_frontend_gateway_options()
S
100 1 0
get_backend_gateway_options()
S
100 1 0
get_gateway_form_fields()
S
100 1 0
get_first_line_support_email()
S
100 1 0
payment_fields()
S
77 1 4
getThreedsecureFields()
S
65 1 9
get_transaction_details_by_txn_id()
S
67 1 8
submit_request()
S
80 1 3
map_response_code_to_friendly_message()
S
82 1 3
is_transaction_active()
S
82 1 3
get_decline_message()
S
82 1 3
get_order_data()
S
68 1 7
cvn_rejection_conditions()
S
65 1 9
get_single_toggle_gateways()
S
68 1 9
handle_avs_cvn_response_codes()
S
91 1 2